package cn.bandeqing.productType.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

@Data
public class ProductTypeSaveOrUpdateReq implements Serializable {

    /**
     * 产品类目ID
     */
    private Long ptId;

    /**
     * 产品类目label
     */
    @NotBlank
    private String ptName;

    @NotNull
    private Integer ptSort;

    @NotNull
    private Boolean customerHide;

    @NotNull
    private Boolean indexSwitch;

    @NotBlank
    private String subTitle;


}
